.item {
	.title {
		font-size: 14px;
		color: #405072;
		line-height: 24px;
		font-weight: 600;
		margin-bottom: 5px;
		p {
			display: inline-block;
			margin-right: 5px;
		}
		input {
			width: 150px;
			display: inline-block;
			height: 20px;
			line-height: 20px;
			margin-right: 5px;
			padding: 0 5px;
			border-radius: 2px;
		}
		i.iconfont {
			display: inline-block;
			font-style: normal;
			width: 16px;
			height: 16px;
			text-align: center;
			line-height: 16px;
			background: #2085ef;
			border-radius: 2px;
			color: #fff;
			margin-right: 5px;
		}
		.edit {
			display: none;
		}
		&:hover {
			.edit {
				display: inline-block;
			}
		}
	}
}
.exponent {
	margin-bottom: 10px;
	display: flex;
	.icon {
		display: none;
	}
	&:hover {
		background: rgba(45, 140, 240, 0.06);
		.icon {
			display: block;
			color: #9aa2b4;
			cursor: pointer;
			margin-top: 10px;
		}
	}
}
.condition {
	margin-bottom: 10px;
	padding-left: 20px;
	position: relative;
	.condition-item {
		width: 100%;
		margin-bottom: 7px;
		overflow: hidden;
		zoom: 1;
		position: relative;
		padding: 3px 0 0px 3px;
		.icon {
			display: none;
		}
		&:hover {
			background: rgba(45, 140, 240, 0.06);
			.icon {
				display: block;
				color: #9aa2b4;
				cursor: pointer;
				position: absolute;
				right: 0px;
				top: 7px;
			}
		}
	}
	.sub-children {
		margin-left: 20px;
		padding-left: 16px;
		position: relative;
		.condition-item {
			padding-right: 50px;
			.icon {
				display: none;
			}
			&:hover {
				background: rgba(45, 140, 240, 0.06);
				.icon {
					display: block;
					color: #9aa2b4;
					cursor: pointer;
					position: absolute;
					right: 0px;
					top: 7px;
				}
			}
		}
	}
}
.exponent,
.condition {
	.word {
		display: inline-block;
		line-height: 32px;
		margin: 0 8px 0 0;
	}
}
.condition,
.sub-children {
	&.has-logic {
		&::before {
			content: '';
			width: 1px;
			background: #c6e9ff;
			border: 1px solid #c6e9ff;
			margin-left: -10px;
			height: 100%;
			position: absolute;
			left: 17px;
			top: 0px;
			display: block;
		}
	}
	span.logic {
		display: block;
		width: 32px;
		position: absolute;
		left: 0px;
		top: 50%;
		margin-top: -16px;
		em {
			display: block;
			font-style: normal;
			font-size: 12px;
			width: 16px;
			height: 16px;
			color: #9aa2b4;
			background: #c6e9ff;
			text-align: center;
			line-height: 16px;
			cursor: pointer;
			&.current,
			&:hover {
				color: #fff;
				background: #2085ef;
			}
		}
	}
}
.exponent,
.condition,
.condition-item {
	.btn {
		float: left;
		background: none;
		border-radius: 2px;
		border: 1px solid #dfe3eb;
		padding: 0 15px 0 5px !important;
		margin-right: 8px;
		margin-bottom: 3px;
		i {
			display: inline-block;
			height: 32px;
			line-height: 32px;
			font-style: inherit;
			&.word {
				width: 73px;
				white-space: nowrap;
				text-overflow: ellipsis;
				overflow: hidden;
				text-align: left;
			}
			&.iconfont {
				height: 14px;
				position: absolute;
				top: 3px;
				right: 5px;
			}
		}
		&:checked,
		&:hover,
		&:focus,
		&:active {
			color: #2085ef;
			border: 1px solid #2085ef !important;
		}
	}
}
.add-icon {
	margin-top: 10px;

	span {
		color: #405072;
		margin-right: 10px;
		cursor: pointer;
		.iconfont {
			color: #2085ef;
		}
	}
}
